<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>{$Think[config][sitename]|default="管理中心"}</title>
<link href="{:cdn('PUBLIC')}/app/dwz/themes/default/style.css" rel="stylesheet" type="text/css" />
<link href="{:cdn('PUBLIC')}/app/dwz/themes/css/core.css" rel="stylesheet" type="text/css" />
<link href="{:cdn('PUBLIC')}/app/uploadify/uploadify_version/uploadify.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="{:cdn('PUBLIC')}/app/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script src="{:cdn('PUBLIC')}/app/dwz/js/speedup.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/jquery.validate.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/jquery.tablesorter.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/xheditor/xheditor-1.1.8-zh-cn.min.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/uploadify/uploadify_version/jquery.uploadify.min.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/dwz.min.js" type="text/javascript"></script>
<script src="{:cdn('PUBLIC')}/app/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script>var PUBLIC_URL = '{:cdn('PUBLIC')}/';</script>
<literal>
<script type="text/javascript">
function fleshVerify(){
	$('#verifyImg').attr("src", '__APP__/Public/verify/'+new Date().getTime());
}
function dialogAjaxMenu(json){
	dialogAjaxDone(json);
	if (json.statusCode == DWZ.statusCode.ok){
		$("#sidebar").loadUrl("__APP__/Public/menu");
	}
}
function navTabAjaxMenu(json){
	navTabAjaxDone(json);
}
$(function(){
	DWZ.init(PUBLIC_URL + "/app/dwz/dwz.frag.xml", {
		loginTitle:"操作超时，重新登录",
		loginUrl:"__APP__/Public/logindialog",
		statusCode:{ok:1, error:0, timeout:501},
		debug:false,
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"<?php echo cdn('PUBLIC');?>/app/dwz/themes"});
		}
	});
});
if ($.browser.msie) {
	window.setInterval("CollectGarbage();", 10000);
}
</script>
</literal>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="{$Think.config.bbsurl}">Logo</a>
				<ul class="nav">
					<li><a href="#">{$userDetail.Agent.name} {$Think.SESSION.loginUserName} 欢迎您！</a></li>
					<li><a href="__APP__/Public/main" target="dialog" width="580" height="360" rel="sysInfo">系统消息</a></li>
					<li><a href="__APP__/Public/profile/" target="dialog" mask="true">修改资料</a></li>
					</eq>
					<li><a href="__APP__/Public/password/" target="dialog" mask="true">修改密码</a></li>
					<li><a href="__APP__/Public/logout/">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>
		</div>
		
		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>操作面板</h2><div>收缩</div></div>
				<div class="accordion" fillSpace="sideBar">
					<volist name="menu" id="group">
						<if condition="!empty($group['menu'])">
							<div class="accordionHeader">
								<h2><span>Folder</span>{$group.name}</h2>
							</div>
				
						    <div class="accordionContent">
						        <ul class="tree treeFolder">
						            <volist name="group.menu" id="item">
						            <neq name="item['name']|strtolower" value="public" >
						                <neq name="item['name']|strtolower" value="index" >
							                <eq name="item['access']" value="1">
							                	<li><a href="{$item['url']}" target="navTab" rel="{$item['name']|strtoupper}<neq name="item.action" value="index">{$item['action']|strtoupper}</neq>">{$item['title']}</a></li>
							                </eq>
						                </neq>
						            </neq>
						            </volist>
						        </ul>
						    </div>
					    </if>
					</volist>
				</div>
			</div>
		</div>

		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:void(0)"><span><span class="home_icon">欢迎界面</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<div class="tabsRight tabsRightDisabled">right</div>
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:void(0)">欢迎界面</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div>
						<div class="accountInfo">
							<div class="right">
								<p>{$Think.now}</p>
							</div>
							<p>欢迎回来, {$Think.session.loginUserName}</p>
						</div>
						<div class="pageFormContent" layoutH="80">
						<p>您的账号：{$userDetail.account}{$userDetail.nickname}</p>
						<p>上次登录：{$Think.session.lastLoginTime|date="Y-m-d H:i:s",###}</p>
						<p>账户级别：<eq name="userDetail.id" value="1">超级管理员<else/>管理员</eq></p>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="footer">Copyright &copy; 2005 - 2015 <a href="{$Think.config.siteurl}" target="_blank">{$Think.config.copyright}</a></div>
</body>
</html>